package cn.yxr.mapper;


import cn.yxr.pojo.DataDictionary;

import java.util.List;

public interface data {
    //添加
    int adddata(DataDictionary dataDictionary);
    //删除
    int deledata(int id);
    //修改
    int updatedata(DataDictionary dataDictionary);
    //根据id查询
    DataDictionary querydata(int id);
    //查询全部
    List<DataDictionary> querydatas();
}
